﻿using ProjectTemplate.Model.DTO.Category;
using ProjectTemplate.Model.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectTemplate.IServices
{
    public interface ICategoryService
    {
        Task<List<Category>> GetCategories();

        Task<long> AddCategory(CategoryAddDTO dto);

        Task<bool> DeleteCategory(long id);

        Task<bool> UpdateCategory(long id,CategoryUpdateDTO dto);
    }
}
